f = open(r"yeah",'w',encoding='GBK')
f.write('好好好啊对对对')
a = f.read()
print(a)
f.close()#文件重编内容